package com.bestcem.xm.ticket.enums;

import lombok.Getter;
import lombok.ToString;

/**
 * 跟进/审核 超时限制类型
 *
 * @author XiaoYunSong <ys.xiao@idiaoyan.com>
 * @version v1.0
 * @date 2021/8/17 18:46
 */
@Getter
@ToString
public enum RoleTimeLimitTypeEnum {

    /**
     * 无时间限制
     */
    NO_LIMIT(0, "无时间限制"),

    /**
     * 限制小时
     */
    HOUR(1, "限制小时"),

    /**
     * 限制天
     */
    DAY(2, "限制天");

    private final String name;

    private final int index;

    RoleTimeLimitTypeEnum(int index, String name) {
        this.name = name;
        this.index = index;
    }
}
